#include <stdio.h>

enum ans
{
    A,
    B,
    C,
};
enum games
{
    up = 'w',
    up2 = 'W',
    down = 's',
    down2 = 'S',
    left = 'a',
    left2 = 'A',
    right = 'd',
    right2 = 'D',

};
void main()
{
    printf("%d,%c\n", A, A);
    printf("%c\n", B);
    printf("%c\n", C);
    char type;
    type = getchar();
    switch (type)
    {
    case up:
    case up2:
        printf("up\n");
        break;
    case down:
    case down2:
        printf("right\n");
        break;
    case left:
    case left2:
        printf("down\n");
        break;
    case right:
    case right2:
        printf("left\n");
        break;

    default:
        break;
    }
}